<?php

class Friend extends AppModel {
	var $name = 'Friend';
	
	var $belongsTo = array(
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user1_id'),
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user2_id')
	);
}
?>